// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsMessageGetByKeyRequest.h"

namespace aliyun { namespace Ons {

OnsMessageGetByKeyRequest::OnsMessageGetByKeyRequest() : RpcAcsRequest("Ons", "2015-10-20", "OnsMessageGetByKey") {
}

const string& OnsMessageGetByKeyRequest::GetOnsRegionId(void) const {
  return OnsRegionId_;
}
void OnsMessageGetByKeyRequest::SetOnsRegionId(const string& OnsRegionId) {
  OnsRegionId_ = OnsRegionId;
  PutQueryParameter("OnsRegionId", OnsRegionId_);
}

const string& OnsMessageGetByKeyRequest::GetOnsPlatform(void) const {
  return OnsPlatform_;
}
void OnsMessageGetByKeyRequest::SetOnsPlatform(const string& OnsPlatform) {
  OnsPlatform_ = OnsPlatform;
  PutQueryParameter("OnsPlatform", OnsPlatform_);
}

int64 OnsMessageGetByKeyRequest::GetPreventCache(void) const {
  return PreventCache_;
}
void OnsMessageGetByKeyRequest::SetPreventCache(int64 PreventCache) {
  PreventCache_ = PreventCache;
  PutQueryParameter("PreventCache", string_ValueOfInt64(PreventCache_));
}

const string& OnsMessageGetByKeyRequest::GetTopic(void) const {
  return Topic_;
}
void OnsMessageGetByKeyRequest::SetTopic(const string& Topic) {
  Topic_ = Topic;
  PutQueryParameter("Topic", Topic_);
}

const string& OnsMessageGetByKeyRequest::GetKey(void) const {
  return Key_;
}
void OnsMessageGetByKeyRequest::SetKey(const string& Key) {
  Key_ = Key;
  PutQueryParameter("Key", Key_);
}


} } // namespace aliyun { namespace Ons {

// end of file 
